package com.sunny.custom;

import com.sunny.custom.annotation.ImportTest;
import org.springframework.context.annotation.ImportSelector;
import org.springframework.core.type.AnnotationMetadata;

public class Student implements ImportSelector {
    @Override
    public String[] selectImports(AnnotationMetadata importingClassMetadata) {
        System.out.println(importingClassMetadata.getAnnotationAttributes(ImportTest.class.getName()));
        return new String[0];
    }
}
